package com.apes.framework.plugin.workflow.domain;

import com.apes.framework.jpa.repository.CustomRepository;


/**
 * @author xul
 * @create 2018-07-26 10:09
 */
public interface ProcessInstanceExtRepository extends CustomRepository<ProcessInstanceExt, Long> {

    ProcessInstanceExt findFirstByProcessInstanceId(String processInstanceId);

    ProcessInstanceExt findFirstByBusinessTypeAndBusinessKeyOrderByIdDesc(String businessType, String businessKey);


}
